/**
	Pulsar engine. Samples.
	Base hello word sample 2.

	Copyright (C) 2013-2014 Dmitry Dolgov

	This program is free software; you can redistribute it and/or modify it under the terms of the
	GNU General Public License as published by the Free Software Foundation; either version 2 of
	the License, or (at your option) any later version.

	This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
	without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
	See the GNU General Public License for more details.
*/

#include <pulsar/pulsar.h>

/*
	Application entry point
	When the source code compiled with PL_ENTRY_POINT_EXTERNAL macro, application must provide standard entry point and call
	PULSAR library initialization. 
*/
int main(int argc, const char* argv[])
{
	// Inialialize PULSAR 
	pl::AppBase::appBase->init(argc, argv);

	// PL_TRACE macro forward text message to standard debug output
	// This macro works in PL_DEBUG configuration only
	PL_TRACE(PL_T("Hello, world"));

	// Shutdown pulsar
	pl::AppBase::appBase->term();
	return 0;
}

//
// End of file 'sample2.cpp'
//
